Optimal. Leaf size=127 \[ \frac{(q+1) (e x)^{q+1} e^{-\frac{a (q+1)}{b m n}} \left (c \left (d x^m\right )^n\right )^{-\frac{q+1}{m n}} \text{Ei}\left (\frac{(q+1) \left (a+b \log \left (c \left (d x^m\right )^n\right )\right )}{b m n}\right )}{b^2 e m^2 n^2}-\frac{(e x)^{q+1}}{b e m n \left (a+b \log \left (c \left (d x^m\right )^n\right )\right )} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.24181, antiderivative size = 127, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 22, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.182, Rules used = {2306, 2310, 2178, 2445} \[ \frac{(q+1) (e x)^{q+1} e^{-\frac{a (q+1)}{b m n}} \left (c \left (d x^m\right )^n\right )^{-\frac{q+1}{m n}} \text{Ei}\left (\frac{(q+1) \left (a+b \log \left (c \left (d x^m\right )^n\right )\right )}{b m n}\right )}{b^2 e m^2 n^2}-\frac{(e x)^{q+1}}{b e m n \left (a+b \log \left (c \left (d x^m\right )^n\right )\right )} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2306
Rule 2310
Rule 2178
Rule 2445
Rubi steps
\begin{align*} \int \frac{(e x)^q}{\left (a+b \log \left (c \left (d x^m\right )^n\right )\right )^2} \, dx &=\operatorname{Subst}\left (\int \frac{(e x)^q}{\left (a+b \log \left (c d^n x^{m n}\right )\right )^2} \, dx,c d^n x^{m n},c \left (d x^m\right )^n\right )\\ &=-\frac{(e x)^{1+q}}{b e m n \left (a+b \log \left (c \left (d x^m\right )^n\right )\right )}+\operatorname{Subst}\left (\frac{(1+q) \int \frac{(e x)^q}{a+b \log \left (c d^n x^{m n}\right )} \, dx}{b m n},c d^n x^{m n},c \left (d x^m\right )^n\right )\\ &=-\frac{(e x)^{1+q}}{b e m n \left (a+b \log \left (c \left (d x^m\right )^n\right )\right )}+\operatorname{Subst}\left (\frac{\left ((1+q) (e x)^{1+q} \left (c d^n x^{m n}\right )^{-\frac{1+q}{m n}}\right ) \operatorname{Subst}\left (\int \frac{e^{\frac{(1+q) x}{m n}}}{a+b x} \, dx,x,\log \left (c d^n x^{m n}\right )\right )}{b e m^2 n^2},c d^n x^{m n},c \left (d x^m\right )^n\right )\\ &=\frac{e^{-\frac{a (1+q)}{b m n}} (1+q) (e x)^{1+q} \left (c \left (d x^m\right )^n\right )^{-\frac{1+q}{m n}} \text{Ei}\left (\frac{(1+q) \left (a+b \log \left (c \left (d x^m\right )^n\right )\right )}{b m n}\right )}{b^2 e m^2 n^2}-\frac{(e x)^{1+q}}{b e m n \left (a+b \log \left (c \left (d x^m\right )^n\right )\right )}\\ \end{align*}
Mathematica [A] time = 0.296765, size = 112, normalized size = 0.88 \[ \frac{(e x)^q \left ((q+1) x^{-q} \exp \left (-\frac{(q+1) \left (a+b \log \left (c \left (d x^m\right )^n\right )-b m n \log (x)\right )}{b m n}\right ) \text{Ei}\left (\frac{(q+1) \left (a+b \log \left (c \left (d x^m\right )^n\right )\right )}{b m n}\right )-\frac{b m n x}{a+b \log \left (c \left (d x^m\right )^n\right )}\right )}{b^2 m^2 n^2} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.053, size = 0, normalized size = 0. \begin{align*} \int{\frac{ \left ( ex \right ) ^{q}}{ \left ( a+b\ln \left ( c \left ( d{x}^{m} \right ) ^{n} \right ) \right ) ^{2}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} e^{q}{\left (q + 1\right )} \int \frac{x^{q}}{b^{2} m n \log \left ({\left (x^{m}\right )}^{n}\right ) + a b m n +{\left (m n \log \left (c\right ) + m n \log \left (d^{n}\right )\right )} b^{2}}\,{d x} - \frac{e^{q} x x^{q}}{b^{2} m n \log \left ({\left (x^{m}\right )}^{n}\right ) + a b m n +{\left (m n \log \left (c\right ) + m n \log \left (d^{n}\right )\right )} b^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 0.920079, size = 497, normalized size = 3.91 \begin{align*} -\frac{b m n x e^{\left (q \log \left (e\right ) + q \log \left (x\right )\right )} -{\left (a q +{\left (b q + b\right )} \log \left (c\right ) +{\left (b n q + b n\right )} \log \left (d\right ) +{\left (b m n q + b m n\right )} \log \left (x\right ) + a\right )}{\rm Ei}\left (\frac{a q +{\left (b q + b\right )} \log \left (c\right ) +{\left (b n q + b n\right )} \log \left (d\right ) +{\left (b m n q + b m n\right )} \log \left (x\right ) + a}{b m n}\right ) e^{\left (\frac{b m n q \log \left (e\right ) - a q -{\left (b q + b\right )} \log \left (c\right ) -{\left (b n q + b n\right )} \log \left (d\right ) - a}{b m n}\right )}}{b^{3} m^{3} n^{3} \log \left (x\right ) + b^{3} m^{2} n^{3} \log \left (d\right ) + b^{3} m^{2} n^{2} \log \left (c\right ) + a b^{2} m^{2} n^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\left (e x\right )^{q}}{\left (a + b \log{\left (c \left (d x^{m}\right )^{n} \right )}\right )^{2}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.68669, size = 2079, normalized size = 16.37 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]